package com.ruoyi.common.enums;
/**
 * 是/否枚举类
 *
 * @author yinjc
 */
public enum YesOrNoEnum {

    YES(1, "是"),
    NO(0, "否")
    ;

    private final int isOrNo;
    private final String isOrNoDesc;

    YesOrNoEnum(int isOrNo, String isOrNoDesc) {
        this.isOrNo = isOrNo;
        this.isOrNoDesc = isOrNoDesc;
    }

    public int getIsOrNo() {
        return isOrNo;
    }

    public String getIsOrNoDesc() {
        return isOrNoDesc;
    }
}
